/**
 * Copyright (c) 2018 软唐 All rights reserved.
 *
 * https://www.softtown.cn
 *
 * 版权所有，侵权必究！
 */

package com.softtown.modules.dapai.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.softtown.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 报备
 *
 * @author
 * @since 1.0.0
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("comp_customer_report")
public class CompCustomerReportEntity extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 * id
	 * isNullAble:0
	 */
	private Long id;

	/**
	 * 公司id
	 * isNullAble:0
	 */
	private Long compId;

	/**
	 * 资源id
	 * isNullAble:0
	 */
	private Long resourceId;
	/**
	 * 客户编码
	 * isNullAble:0
	 */
	@TableField(exist = false)
	private String custCode;
	/**

	/**
	 * 客户名称
	 * isNullAble:0
	 */
	@TableField(exist = false)
	private String name;
	/**
	 * 所在市id
	 * isNullAble:0
	 */
	private Long cityId;

	/**
	 * 所在区id
	 * isNullAble:0
	 */
	private Long areaCityId;

	/**
	 * 所在省id
	 * isNullAble:0
	 */
	private Long proCityId;
	/**
	 * 销售员id
	 * isNullAble:0
	 */
	private Long emplId;

	/**
	 * 地址
	 * isNullAble:0
	 */
	private String 	address;


	/**
	 * 联系电话
	 * isNullAble:0
	 */
	@TableField(exist = false)
	private String 	mobile;


	/**
	 * 联系人
	 * isNullAble:0
	 */
	@TableField(exist = false)
	private String 	contact;
	/**
	 * 备注
	 * isNullAble:0
	 */
	private String 	remark;


	/**
	 * 报备时间
	 * isNullAble:1
	 */
	private Date reportDate;


	/**
	 * 有效时间
	 * isNullAble:1
	 */
	private Date esffectiveDate;


	/**
	 * 创建者
	 * isNullAble:1
	 */
	private Long creator;

	/**
	 * 创建时间
	 * isNullAble:1
	 */
	private Date createDate;


	/**
	 * 更新者
	 * isNullAble:1
	 */
	private Long updater;

	/**
	 * 更新时间
	 * isNullAble:1
	 */
	private Date updateDate;

	/**
	 * 更新时间戳
	 * isNullAble:1
	 */
	private String updateTimestamp;

	/**
	 * 逻辑删除
	 * isNullAble:1,defaultVal:0
	 */
	private Integer isDeleted;

	@TableField(exist = false)
	private String emplName;

	@TableField(exist = false)
	private String statusName;

	@TableField(exist = false)
	private String proCity;

	@TableField(exist = false)
	private String areaCity;

	@TableField(exist = false)
	private String city;

}